package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile  string `gorm:"type:char(11);not null;unique;comment:用户账号"`
	Name    string `gorm:"type:varchar(30);not null;comment:用户姓名"`
	Sex     string `gorm:"type:varchar(10);not null;comment:用户性别"`
	Address string `gorm:"type:varchar(300);not null;comment:用户住址"`
	Email   string `gorm:"type:varchar(100);not null;comment:用户邮箱"`
}
